package com.itfreer.arcgis.draw;

/**
 * 当前编辑工具管理类
 */
public class DrawToolManager
{
    private static  DrawTool drawTool=null;
    public static void setCurrentTool(DrawTool drawTool)
    {
        if(DrawToolManager.drawTool!=null)
            DrawToolManager.drawTool.Clear();

        DrawToolManager.drawTool = drawTool;
    }

    public  static  DrawTool GetCurrentTool()
    {
        return drawTool;
    }
}
